]> dgit.raspbian.org Git - openjdk-25.git/commit
disable UnsafeGuard in Unsafe_SetMemory0 for i386
authorVladimir Petko <vladimir.petko@canonical.com>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
commit14bd22a50d0562d6da7d86ff5e24b9a74b16eb80
tree033ca8003fa280e39f65f65f8b08f3b2b16e4900
parentea3fcc9f05bfc4703500675539af435f1403367e
disable UnsafeGuard in Unsafe_SetMemory0 for i386

Bug: https://bugs.openjdk.org/browse/JDK-8335238
Forwarded: not-needed
Last-Update: 2024-07-01

x86 hotspot aseembler incorrectly returns next instruction's PC
for rep stos %eax,%es:(%edi) causing an infinite loop.
This patch removes UnsafeGuard for i386, so that VM crashes
instead of hanging indefinitely.
Patch should not be forwarded as it reverses JDK-8320886 for
i386.

Gbp-Pq: Name jdk-8335238-workaround.patch
src/hotspot/share/prims/unsafe.cpp